<template>
  <el-container>
    <el-header height="156px">
      <Top />
    </el-header>
    <el-main>
      <transition name="fade-transform">
        <router-view />
      </transition>
    </el-main>
    <el-footer height="356px">
      <Bottom />
    </el-footer>
    <div class="assess" @click="access">申请结果</div>
  </el-container>
</template>
<script>
import Top from './Top.vue';
import Bottom from './Bottom.vue';
export default {
  props: {
    key: {
      type: String,
    },
    bussType: {
      default: '1',
    },
  },
  components: {
    Top,
    Bottom,
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {
    access() {
      this.$router.push({
        path:
          this.$route.path == '/dockCompanyApplyStep'
            ? '/dockCompanyCompleted'
            : '/dockPersonalCompleted',
        query: {
          bussType: this.bussType,
        },
      });
    },
  },
};
</script>
<style lang="scss" scoped>
.el-container {
  min-height: 100%;
  .el-header {
    padding: 0;
  }
  .el-main {
    box-sizing: border-box;
    overflow: hidden;
    padding: 0px;
    background: rgb(246, 246, 246);
  }
  .el-footer {
    padding: 0;
  }
  .assess {
    position: fixed;
    right: 20px;
    top: 50%;
    padding: 10px;
    width: 4em;
    text-align: center;
    background: rgb(37, 164, 23);
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
    cursor: pointer;
  }
}
</style>
